﻿<%@ Control Language="C#" %>
<%@ Import Namespace="Hidistro.Core" %>
<%@ Import Namespace="Hidistro.UI.SaleSystem.Tags" %>
<%@ Register TagPrefix="wnxd" Assembly="wnxd.Web" Namespace="wnxd.Web" %>

<asp:Repeater ID="PList" runat="server">
    <ItemTemplate>
        <div class="erghfgxtc <%# Eval("CalssName")  %>">
            <div class="erghfgxtc1 <%#Eval("CalssName") %>1">
                <p>全网热销<%# Eval("Name")%>排行 TOP10</p>
                <i>
                    <img src="http://image.juseshop.com/shopsanqi/<%# Eval("CalssName")%>.png"></i>
            </div>
            <div class="ckgdcnm">
                <a href="<%# Globals.GetSiteUrls().SubCategory((int)Eval("CategoryId"), Eval("RewriteName")) %>">查看更多&gt;&gt;</a>
            </div>
        </div>
        <div class="brand_story_cps">
            <ul>
                <asp:Repeater ID="FList" runat="server">
                    <ItemTemplate>
                        <li>
                            <input type="hidden" name="hidProduct" value="<%#Eval("ProductId") %>" />
                            <div class="brand_story_cps_top">
                                <a target="_blank" href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>">
                                    <img title="<%#Eval("ProductName")%>" src="<%#Globals.GetImgUrl(Eval("ThumbnailUrl220").ToString())%>">
                                    <div style="display: none;" id="divProduct<%#Eval("ProductId") %>">
                                        <div class="brand_story_cps_top_time"></div>
                                        <div class="brand_story_cps_top_time1">
                                            <p>
                                                <img src="http://image.juseshop.com/shopsanqi/stime.png">
                                                <span class="djs" time="" id="djs<%#Eval("ProductId") %>">剩余<i>0</i>天<span>0</span>小时<b>00</b>分<strong>00</strong>秒</span>
                                            </p>
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="brand_story_cps_zhong">
                                <a target="_blank" href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>">
                                    <p><%#Eval("ProductName")%> <em><%#Eval("ProductText")%></em></p>
                                </a>
                                <span><b id="Price<%#Eval("ProductId") %>">¥<%#((decimal)Eval("SalePrice")).ToString("F0")%></b><div class="cu">
                                    <img src="http://image.juseshop.com/shopsanqi/cu.png">
                                </div>
                                    <%#((bool)Eval("IsFreight") ||(bool)Eval("IsfreeShipping")) ?"<div class=\"baoyou\">包邮</div>":""%>
                                    <div class="asxz"><em>已售：<i id="saleCount<%#Eval("ProductId") %>"><%#Eval("ShowSaleCounts")%></i></em>件</div>
                                </span>
                            </div>
                            <a target="_blank" class="jiarudfb" href="http://order.x-juse.com/AddShoppingCart.aspx?productId=<%# Eval("ProductId") %>&SkuId=<%# Eval("SkuId") %>&Count=1&sdomain=http://<%=this.Page.Request.ServerVariables["HTTP_HOST"] %>&ReturnUrl=http://www.x-juse.com<%=this.Page.Request.RawUrl %>">加入购物车</a>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <div class="other"></div>
    </ItemTemplate>
</asp:Repeater>
<script type="text/javascript" src="http://res.juseshop.com/js/shopsanqi/ListToCart.js"></script>
<script type="text/javascript" src="http://res.juseshop.com/js/shopsanqi/other.js"></script>
<script type="text/javascript" src="http://res.juseshop.com/js/shopsanqi/playtime.js"></script>
